package com.zhl.api_object7;

public class Test {
    public static void main(String[] args) {
        Student s = new Student(20,"Tom" );
        System.out.println(s.toString());
        Student s1 = new Student(20,"Tom" );
        System.out.println(s1.equals(s));   //判断地址
        System.out.println(s1==s);//判断地址


    }
}
